package net.goutalk.glcs.module.authority.service;

import com.github.yulichang.base.MPJBaseService;
import net.goutalk.glcs.module.authority.dto.AddDataAuthDto;
import net.goutalk.glcs.module.authority.dto.UpdateDataAuthDto;
import net.goutalk.glcs.module.authority.entity.DataAuth;
import net.goutalk.glcs.module.authority.vo.AuthObjectVo;

import java.util.List;

/**
 * <p>
 * 数据权限表 服务类
 * </p>
 *
 * @author tanyujie
 * @since 2023-02-27
 */
public interface IDataAuthService extends MPJBaseService<DataAuth> {

    Boolean add(AddDataAuthDto dto);

    Boolean edit(UpdateDataAuthDto dto);

    List<AuthObjectVo> getAuthObjectsInfo(Long id);
}
